import http from './http.js' //引入上面封装好的请求方法
// 获取轮播图


//登录的api
export const loginApi = data => http({
	url: '/user/login',
	method: 'post',
	data: data,
 })
//注册的api
export const insertUserApi = data => http({
	url: '/user/insert',
	method: 'post',
	data: data
})
//获取用户信息
export const getloginuser = data => http({
	url: '/user/getloginuser',
	method: 'post',
	data: data
})

